/**
 * Created by Salted fish
 * Description:
 * User: 24539
 * Date：2021-08-01
 * Time: 21:37
 */
public class Test3 {
    public static void main(String[] args) {
        int[] arry = {1, 2, 3, 4,};
        transform(arry);
    }
    public static void transform(int [] arry) {
        for(int x=0;x<arry.length;x++) {
            arry[x]=arry[x]*2;
            System.out.print(arry[x]+" ");
        }
    }
}
